#include "StdAfx.h"
#include "AuxDevice.h"
CAuxDevice::CAuxDevice()
{
    m_btAlarm = 0;
    m_btActor = 0;
    m_btTempA = 0;
    m_btTempB = 0;
    m_btPosition = 0;
    m_btPosActor = 0;
}
CAuxDevice::~CAuxDevice()
{
}
bool CAuxDevice::UpdateAux(const BYTE btAlarm, const BYTE btActor,
                           const BYTE btTempA, const BYTE btTempB,
                           const BYTE btPosition, const BYTE btPosActor)
{
    if(btAlarm != m_btAlarm)
    {
        m_btAlarm = btAlarm;
    }

    if(btActor != m_btActor)
    {
        m_btActor = btActor;
    }

    if(btTempA != m_btTempA)
    {
        m_btTempA = btTempA;
    }

    if(btTempB != m_btTempB)
    {
        m_btTempB = btTempB;
    }

    if(btPosition != m_btPosition)
    {
        m_btPosition = btPosition;
        const BYTE btMark = 1;

        if(m_btPosition & btMark)
        {
        }
    }

    if(btPosActor != m_btPosActor)
    {
        m_btPosActor = btPosActor;
    }
    return true;
}
